cmake_minimum_required(VERSION 2.8.9)

project(dagger-net)

set(ROOT ${CMAKE_CURRENT_LIST_DIR})
set(CMAKE_MODULE_PATH ${ROOT}/cmake)

include(options)
include(common)
include(3rd-party-deps)

add_definitions(-D__STDC_LIMIT_MACROS)

include_directories(${ROOT}/src)
add_subdirectory(${ROOT}/src)

if(BUILD_TESTS)
  add_subdirectory(${ROOT}/test)
endif(BUILD_TESTS)
